#include <bits/stdc++.h>
using namespace std;
#define PI 3.1415926
#define   SQUARE(x) ((x)*(x))
//double SQUARE(double x) { return x*x;}

int main()
{
	unsigned int a1=1 ,n=1;
	scanf("%d",  &n  );
	for(int i=0; i<n; i++) a1 *=2;
  printf("%u", a1);

  return 0;
}
